home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / PROGTOOL / LIB211.ZIP;1 / WPMERGE.TXT < prev    next >
Encoding:
Text File  |  1993-12-15  |  2.3 KB  |  54 lines

  1. WPMERGE.TXT
  2.  
  3. This file is a VERY brief description of the WPMERGE printer drivers and
  4. demo program in the dUFLP library. Most of this comes from the program
  5. header for WPMRGDEM.PRG, written by Kenneth Chan.
  6.  
  7. *--             There are two drivers, WPMERGE.PR2 and WPMERGEB.PR2, 
  8. *--             the only difference being that WPMERGEB has more 
  9. *--             aggressive bold support.  Both "B" and "U" STYLEs 
  10. *--             for ?/?? work -- the resulting WP text will be bolded 
  11. *--             and/or underlined.
  12. *-- 
  13. *--             The problem is that dBASE does not turn off bolding 
  14. *--             unless it knows the next expression is not bold.  If 
  15. *--             the last (or only) expression in a field is bold, the 
  16. *--             ending bold code ([bold] for the Reveal Codes-literate) 
  17. *--             does not appear until the beginning of the next field.  
  18. *--             This can cause rampant bolding in the resulting merged
  19. *--             document.
  20. *--
  21. *--             WPMERGEB "fixes" this by including [Bold][bold] codes 
  22. *--             at the end of every field.  When the generated file is 
  23. *--             converted by WordPerfect, it causes the bold to end at 
  24. *--             the end of the field, and eliminates the [bold] at the
  25. *--             beginning of the next field.  Unfortunately, if the 
  26. *--             last expression does not have a bold, there will be a 
  27. *--             [Bold][bold] at the end of the field. This has no ill 
  28. *--             effect, other than to uglify your WordPerfect document.
  29. *--             You can use a global search and replace to remove them, 
  30. *--             but....
  31. *--
  32. *--             If you're not generating a merge file with bold in it 
  33. *--             (and it's not clear why you'd want to do it in the 
  34. *--             first place), use the WPMERGE.PR2 driver instead; it 
  35. *--             does not have the extra bold codes.
  36.  
  37.  
  38. To run the demo, copy the appropriate files (WPM*.*) into a 
  39. directory. Start up dBASE (get to the DOT prompt), and type:
  40.  
  41.     DO WPMRGDEM
  42.  
  43. When done, you should have a file named: MAIL.LST
  44.  
  45. QUIT dBASE
  46.  
  47. Start WordPerfect, and point it to the same directory. Issue the 
  48. commands to merge. Your primary merge document is: WPMRGDEM.WPD
  49. Your secondary is: MAIL.LST
  50.  
  51. This should work fine with WordPerfect versions from 5.1 up.
  52.  
  53.  
  54.